package com.ruoyi.project.system.version;

import com.ruoyi.framework.web.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 版本日志
 * @author :songzl
 * @date :2018/6/8 16:21
 * @description:
 */
@Controller
@RequestMapping("/system/version")
@Api(value = "版本日志", description = "版本日志")
public class SystemVersionController extends BaseController {

    private String prefix = "system/version";

    @ApiOperation(value = "版本日志", notes = "版本日志")
    @RequiresPermissions("system:version:view")
    @GetMapping()
    public String version(Model model)
    {
        return prefix + "/version";
    }

}
